package cn.wen.yinxiu.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.wen.yinxiu.common.toolkit.PageUtils;
import cn.wen.yinxiu.member.entity.UserGroupRelationEntity;

import java.util.Map;

/**
 * 
 *
 * @ClassName: UserGroupRelationService
 * @Author 小飞
 * @Email coderwen22@163.com
 * @Date 2023-05-21 22:19:26
 * @Description:
 */
public interface UserGroupRelationService extends IService<UserGroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 退出群聊
     *
     * @param userId
     * @param groupId
     * @return
     */
    boolean exitGroup(Long userId, Long groupId);
}

